PESetNthTableSessionInfo4

The PESetNthTableSessionInfo4 function was specially designed to accept VB's native 4-byte aligned "Types." It sets the specified session information when opening a Microsoft Access table. Many Microsoft Access database tables require that a session be opened before the table can be used. Use PESetNthTableSessionInfo4 to open the session.

Declare Function PESetNthTableSessionInfo4 Lib "crwrap32.dll" (ByVal 
printJob As Integer, ByVal TableN As Integer, SessionInfo As 
PESessionInfo4, ByVal PropagateAcrossTables As Long) As Integer
Parameters

printJob

Specifies the handle of the print job for which you want to change the Microsoft Access session information.

TableN

0 based table number specifying which table the session is being opened for.

SessionInfo

Refer to the PESessionInfo4 structure for further information.

PropagateAcrossTables

TRUE or FALSE value indicating whether the session information should be used for opening all tables being used in the report.

Return Value

TRUE (1) if the call is successful, FALSE (0) if the call fails.

Remarks


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com